package team.pra.manager.mapper;

import team.pra.manager.common.PageBean;
import team.pra.manager.common.PageHelper;
import team.pra.manager.pojo.Room;

import java.util.List;

public interface RoomMapper {
    List<Room> findRoomByPage(PageBean<Room> pageBean);

    boolean insertRoom(Room room);

    boolean updateRoom(Room room);

    boolean deleteRoom(Integer id);

    List<Room> findAllRoom();

    Integer countRoomNumber();

    List<Room> findRoomByCondition(PageHelper<Room> pageHelper);
    Integer filterRoomCount(PageHelper pageHelper);
    List<Room> findRoomByFloorId(Integer id);
}
